﻿@model DCH.Models.Register
@{
    ViewBag.Title = "Last Step";
}

@*<h2>LastStep</h2>
<h4>Your Member ID is @Model.State.Substring(0,3)@Model.ID  </h4>*@

@*1. Challan Printout Image download\
<a href="~/images/challan.jpg" target="_blank"  >Challan Download</a>
<br />
2. Transaction Text box - update method
@Html.TextBoxFor(model => model.TransactionNumber )*@



<div class="clear"></div>
<!-- Breadcrumb SecTion -->
<div class="breadcrumb-sec ">

    <!-- Container -->
    <div class="absolute-sec">
        <div class="container">
            <!-- PageInfo -->
            <div class="pageinfo page-title-align-left">
                <h1 style="color: #fff !important">Laststep</h1>
            </div>
        </div>
        <!-- Container -->
    </div>
</div>
<div class="clear"></div>
<!-- Breadcrumb SecTion -->
<!-- Main Content Section -->
<div id="main-content">
    <!-- Main Section Start -->
    <div class="main-section">
        <div class="container">


            <div class="">
                <section class="page-section">
                    <div class="container">
                        <div class="row">
                            <div class="col-md-12 rich_editor_text">

                                <p>&nbsp;</p>
                                <div id="__if72ru4sdfsdfruh7fewui_once" style="display: none;"></div>
                                <div id="__hggasdgjhsagd_once" style="display: none;"></div>
                            </div>
                        </div>
                    </div>
                </section>
                <!-- Page Section -->
                <section class="page-section  " style="margin-top: -60px; margin-bottom: 0px; border-top: 0px #e0e0e0 solid; border-bottom: 0px #e0e0e0 solid;">
                    <!-- Container Start here -->
                    <div class="container">
                        <!-- Row Start -->
                        <div class="row">
                            <div class="section-fullwidth">
                                @if(ViewBag.Valid == "true")
                                {
                                <div class="element-size-100 LastStepContent">
                                    <div class="row">
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="LastStep">
                                                <table class="table ">
                                                    <tbody>
                                                        <tr>
                                                            <td>
                                                                <h3>Member ID</h3>
                                                            </td>
                                                            <td width="350">
                                                                @{var ID = string.Empty;
                                                                  var MemberID = string.Empty;
                                                                  switch (Model.ID.ToString().Length)
                                                                  {
                                                                      case 1:
                                                                          ID = "00" + Model.ID.ToString();
                                                                          break;
                                                                      case 2:
                                                                          ID = "0" + Model.ID.ToString();
                                                                          break;
                                                                      default:
                                                                          ID = Model.ID.ToString();
                                                                          break;
                                                                  }

                                                                  if (Model.State.Substring(0, 3).ToLower().Contains("pun"))
                                                                  {
                                                                      if (Model.PlayerName == null)
                                                                      { MemberID = "PBT" + ID; }
                                                                      else
                                                                      { MemberID = "PBI" + ID; }
                                                                  }
                                                                  else
                                                                  {
                                                                      if (Model.PlayerName == null)
                                                                      { MemberID = "HRT" + ID; }
                                                                      else
                                                                      { MemberID = "HRI" + ID; }

                                                                  }
                                                                }
                                                                <h3>@MemberID</h3>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <h3>Payment Option 1: NEFT (offline)</h3>
                                                                <p>
                                                                    Go to your bank branch in which you have account with a cheque book for NEFT.
Fill NEFT form as below:
                                                                </p>
                                                                <p>Step 1: Fill beneficiary details</p>
                                                                <table>
                                                                    <tr>
                                                                       <td>1.</td>
                                                                        <td>Banks</td>
                                                                        <td>
                                                                            HDFC Bank
                                                                        </td>
                                                                        <td>
                                                                            Axis Bank
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>2.</td>
                                                                        <td>Name:</td>
                                                                        <td>DCH</td>
                                                                        <td>DCH</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>3.</td>
                                                                        <td>Account No.</td>
                                                                        <td>50100123867356</td>
                                                                        <td>915010050338735</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>4.</td>
                                                                        <td>Bank:</td>
                                                                        <td>HDFC Bank, Sector-70, Mohali</td>
                                                                        <td>Axis Bank LTD, Mohali Phase 5 [PB],Mohali, 160059</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>5.</td>
                                                                        <td>IFSC Code</td>
                                                                        <td>HDFC 0002460</td>
                                                                        <td>UTIB0001675</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>6.</td>
                                                                        <td>Date:</td>
                                                                        <td></td>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>7.</td>
                                                                        <td>Time:</td>
                                                                        <td></td>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>8.</td>
                                                                        <td>Cheque No.:</td>
                                                                        <td>-your cheque no.-</td>
                                                                        <td>-your cheque no.-</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>9.</td>
                                                                        <td>Amount:</td>
                                                                        <td>-for team -11000/-  or for player - 1500/-</td>
                                                                        <td>-for team -11000/-  or for player - 1500/-</td>
                                                                    </tr>

                                                                </table>
                                                                <br />
                                                                <p>
                                                                    Step 2: Remarks: -fill here Captain Name and Member ID
                                                                </p>
                                                                <p><strong>Note:</strong> Remarks must be filled as mentioned above. </p>
                                                                <p>
                                                                    <br />
                                                                    Step 3: After making payment successfully fill your CHEQUE No. in text box and submit.  

                                                                </p>
                                                            </td>
                                                            <td width="350">@*<a class="custom-btn cs-bg-color btn-success" href="@Url.Action("Download", "Register", new { area = "admin" })">Download</a> <a href="javascript:void(0);" onclick=" printImage()" class="custom-btn cs-bg-color">Print</a>*@
                                                                @using (Html.BeginForm("Transection", "Register", FormMethod.Post, new { area = "admin" }))
                                                                { 
                                                                    <input type="hidden" value="@Model.ID" name="ID" id="ID" data-val-required="The ID field is required." data-val-number="The field ID must be a number." data-val="true">
                                                                 

                                                                    <div class="form-group">
                                                                        <input type="hidden" value="NEFT (offline)" name="PaymentType" id="PaymentType" >
                                                                        @Html.TextBoxFor(model => model.TransactionNumber, new { @placeholder = "Cheque No.", required = "required", style = "width:150px; font-size: 14px;" })
                                                                        <button type="submit" class="custom-btn cs-bg-color">Submit</button>
                                                                    </div>
                                                         
                                                                }
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <h3>Payment Option 2: Net Banking by NEFT</h3>
                                                                <p>Step 1: Add DCH as payee/beneficiary. </p>
                                                                <br />
                                                                <p>Step 2: Fill following details:</p>
                                                                <table>
                                                                    <tr>
                                                                        <td>1.</td>
                                                                        <td>Banks</td>
                                                                        <td>HDFC Bank</td>
                                                                        <td>Axis Bank</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>2.</td>
                                                                        <td>Account No.</td>
                                                                        <td>50100123867356</td>
                                                                        <td>915010050338735</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>3.</td>
                                                                        <td>IFSC code</td>
                                                                        <td>HDFC 0002460 </td>
                                                                         <td>UTIB0001675</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>4.</td>
                                                                        <td>Nick name.</td>
                                                                        <td>DCH</td>
                                                                        <td>DCH</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>5.</td>
                                                                        <td>Remarks:</td>
                                                                        <td>-fill here Captain Name and Member ID- </td>
                                                                        <td>-fill here Captain Name and Member ID- </td>
                                                                    </tr>
                                                                </table>
                                                                <br />
                                                                <p>Step 3: After registering successfully make paymet.</p>
                                                                <br />
                                                                <p>
                                                                    Step 4: Submit your Transaction ID / Reference No. in text box.
                                                                    <br />

                                                                    <strong>Note:</strong> Remarks must be filled as mentioned above. 
                                                                </p>
                                                            </td>
                                                            <td width="350">
                                                                @using (Html.BeginForm("Transection", "Register", FormMethod.Post, new { area = "admin" }))
                                                                {  <input type="hidden" value="@Model.ID" name="ID" id="ID" data-val-required="The ID field is required." data-val-number="The field ID must be a number." data-val="true">
                                                                    <div class="form-group">
                                                                        <input type="hidden" value="Net Banking by NEFT" name="PaymentType" id="PaymentType" >
                                                                        @Html.TextBoxFor(model => model.TransactionNumber, new { @placeholder = "Transaction ID", required = "required", style = "width:150px; font-size: 14px;" })
                                                                        <button type="submit" class="custom-btn cs-bg-color">Submit</button>
                                                                    </div>
                                                         
                                                                }

                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <h3>Payment option 3: Net Banking by IMPS</h3>
                                                                <p>Step 1: Go to instant fund transfer.</p>
                                                                <p>Step 2: Fund transfer to account number.</p>
                                                                <p>Step 3: fill following details:</p>
                                                                <table>
                                                                    <tr>
                                                                        <td>1.</td>
                                                                        <td>Banks</td>
                                                                        <td>HDFC Bank</td>
                                                                        <td>Axis Bank</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>1.</td>
                                                                        <td>Account No.</td>
                                                                        <td>50100123867356</td>
                                                                        <td>915010050338735</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>2.</td>
                                                                        <td>IFSC code</td>
                                                                        <td>HDFC 0002460</td>
                                                                        <td>UTIB0001675</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>3.</td>
                                                                        <td>Amount</td>
                                                                        <td>-for team -11000/-  or for player - 1500/- </td>
                                                                        <td>-for team -11000/-  or for player - 1500/- </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>4.</td>
                                                                        <td>Nick name.</td>
                                                                        <td>DCH</td>
                                                                        <td>DCH</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>5.</td>
                                                                        <td>Remarks:</td>
                                                                        <td>-fill here Captain Name and Member ID-  </td>
                                                                        <td>-fill here Captain Name and Member ID-  </td>
                                                                    </tr>
                                                                </table>
                                                                <p>
                                                                    Step 4: After registered successfully make payment.
                                                                </p>
                                                                <p>
                                                                    Step 5: Submit your Transaction ID / Reference No. in text box. 
                                                                        <br />
                                                                    Note: Remarks must be filled as mentioned above. 
                                                                </p>
                                                            </td>
                                                            <td width="350">
                                                                @using (Html.BeginForm("Transection", "Register", FormMethod.Post, new { area = "admin" }))
                                                                { <input type="hidden" value="@Model.ID" name="ID" id="ID" data-val-required="The ID field is required." data-val-number="The field ID must be a number." data-val="true">
                                                                    <div class="form-group">
                                                                        <input type="hidden" value="Net Banking by IMPS" name="PaymentType" id="PaymentType" >
                                                                        @Html.TextBoxFor(model => model.TransactionNumber, new { @placeholder = "Transaction ID / Reference No.)", required = "required", style = "width:150px; font-size: 14px;" })
                                                                        <button type="submit" class="custom-btn cs-bg-color">Submit</button>
                                                                    </div>
                                                         
                                                                }

                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2">
                                                                <p><h3>Note for all Options:</h3>

For faster registration of team / player also E-mail us all your payment details at: <br />
info@desicricketheroescom
                                                                    <br />
Contact Us: 01725091718 </p>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                                <style>
                                                 </style>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                                }
                                else
                                {
                                
                                <h1> Your phone number is incorrect. Please make sure you entered your registered phone number only. </h1>
                                }
                            </div>
                        </div>
                    </div>
                </section>

            </div>

        </div>


        <!-- Main Section End -->
    </div>
</div>
<script>
    function printImage() {
        var printWindow = window.open('', 'Print Window', 'height=400,width=600');
        printWindow.document.write('<html><head><title>Print Window</title>');
        printWindow.document.write('</head><body ><img src="/Images/IMG-20150907-WA0002.jpg"');

        printWindow.document.write('/></body></html>');
        printWindow.document.close();
        printWindow.print();
    }

</script>
